package com.qxzn.app.bean;

import java.io.Serializable;
import java.util.List;

public class MedicineRemindDetailBean implements Serializable {
    /**
     * code : 200
     * msg : 查询成功
     * data : {"id":47,"username":"hsq1","time":1558946848691,"title":"undefined","type":1,"ringtone":"img/medical/medicine/15589468486910ee78030-805c-11e9-babe-37900f3c0a37.mp3","typevalue":"1,3,6,7","medicinetime":"16:32,16:47,16:58","state":2,"device_id":"9ac019acab486ad7db721f2b6f1b94a8","gender":1,"age":1,"resultdetails":[{"id":30,"drugname":"宁波","url":"","number":1,"medid":47},{"id":31,"drugname":"拼音QwQMSN","url":"","number":3,"medid":47}]}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        /**
         * id : 47
         * username : hsq1
         * time : 1558946848691
         * title : undefined
         * type : 1
         * ringtone : img/medical/medicine/15589468486910ee78030-805c-11e9-babe-37900f3c0a37.mp3
         * typevalue : 1,3,6,7
         * medicinetime : 16:32,16:47,16:58
         * state : 2
         * device_id : 9ac019acab486ad7db721f2b6f1b94a8
         * gender : 1
         * age : 1
         * resultdetails : [{"id":30,"drugname":"宁波","url":"","number":1,"medid":47},{"id":31,"drugname":"拼音QwQMSN","url":"","number":3,"medid":47}]
         */

        private String id;
        private String username;
        private long time;
        private String title;
        private String niname;
        private String headportrait;
        private int type;
        private String ringtone;
        private String typevalue;
        private String medicinetime;
        private int state;
        private String device_id;
        private int gender;
        private int age;
        private List<ResultdetailsBean> resultdetails;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public long getTime() {
            return time;
        }

        public void setTime(long time) {
            this.time = time;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getRingtone() {
            return ringtone;
        }

        public void setRingtone(String ringtone) {
            this.ringtone = ringtone;
        }

        public String getTypevalue() {
            return typevalue;
        }

        public void setTypevalue(String typevalue) {
            this.typevalue = typevalue;
        }

        public String getMedicinetime() {
            return medicinetime;
        }

        public void setMedicinetime(String medicinetime) {
            this.medicinetime = medicinetime;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public String getDevice_id() {
            return device_id;
        }

        public void setDevice_id(String device_id) {
            this.device_id = device_id;
        }

        public int getGender() {
            return gender;
        }

        public void setGender(int gender) {
            this.gender = gender;
        }

        public int getAge() {
            return age;
        }

        public void setAge(int age) {
            this.age = age;
        }

        public List<ResultdetailsBean> getResultdetails() {
            return resultdetails;
        }

        public void setResultdetails(List<ResultdetailsBean> resultdetails) {
            this.resultdetails = resultdetails;
        }

        public String getNiname() {
            return niname;
        }

        public void setNiname(String niname) {
            this.niname = niname;
        }

        public String getHeadportrait() {
            return headportrait;
        }

        public void setHeadportrait(String headportrait) {
            this.headportrait = headportrait;
        }

        public static class ResultdetailsBean implements Serializable {
            /**
             * id : 30
             * drugname : 宁波
             * url :
             * number : 1
             * medid : 47
             */

            private String id;
            private String drugname;
            private String url;
            private int number;
            private int medid;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getDrugname() {
                return drugname;
            }

            public void setDrugname(String drugname) {
                this.drugname = drugname;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public int getNumber() {
                return number;
            }

            public void setNumber(int number) {
                this.number = number;
            }

            public int getMedid() {
                return medid;
            }

            public void setMedid(int medid) {
                this.medid = medid;
            }
        }
    }
}
